# -*- coding: utf-8 -*-

################################################################################
## Form generated from reading UI file 'category.ui'
##
## Created by: Qt User Interface Compiler version 6.8.2
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################

from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
    QMetaObject, QObject, QPoint, QRect,
    QSize, QTime, QUrl, Qt)
from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
    QFont, QFontDatabase, QGradient, QIcon,
    QImage, QKeySequence, QLinearGradient, QPainter,
    QPalette, QPixmap, QRadialGradient, QTransform)
from PySide6.QtWidgets import (QApplication, QFrame, QHBoxLayout, QHeaderView,
    QLabel, QLineEdit, QPushButton, QSizePolicy,
    QSpacerItem, QTableWidget, QTableWidgetItem, QVBoxLayout,
    QWidget)
from state import icon_rc

class Ui_category(object):
    def setupUi(self, category):
        if not category.objectName():
            category.setObjectName(u"category")
        category.resize(846, 498)
        category.setStyleSheet(u"font: 16pt \"\u4eff\u5b8b_GB2312\";")
        self.verticalLayout = QVBoxLayout(category)
        self.verticalLayout.setObjectName(u"verticalLayout")
        self.label = QLabel(category)
        self.label.setObjectName(u"label")
        self.label.setStyleSheet(u"font: 16pt \"\u65b9\u6b63\u5c0f\u6807\u5b8b\u7b80\u4f53\";")

        self.verticalLayout.addWidget(self.label, 0, Qt.AlignmentFlag.AlignHCenter)

        self.frame = QFrame(category)
        self.frame.setObjectName(u"frame")
        self.frame.setFrameShape(QFrame.Shape.StyledPanel)
        self.frame.setFrameShadow(QFrame.Shadow.Raised)
        self.horizontalLayout_2 = QHBoxLayout(self.frame)
        self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
        self.addbtn = QPushButton(self.frame)
        self.addbtn.setObjectName(u"addbtn")
        icon = QIcon()
        icon.addFile(u":/icon/icon/xinzeng.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
        self.addbtn.setIcon(icon)

        self.horizontalLayout_2.addWidget(self.addbtn)

        self.horizontalLayout = QHBoxLayout()
        self.horizontalLayout.setSpacing(0)
        self.horizontalLayout.setObjectName(u"horizontalLayout")
        self.sereachedit = QLineEdit(self.frame)
        self.sereachedit.setObjectName(u"sereachedit")

        self.horizontalLayout.addWidget(self.sereachedit)

        self.serearchbtn = QPushButton(self.frame)
        self.serearchbtn.setObjectName(u"serearchbtn")
        icon1 = QIcon()
        icon1.addFile(u":/icon/icon/sousuo.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
        self.serearchbtn.setIcon(icon1)

        self.horizontalLayout.addWidget(self.serearchbtn)


        self.horizontalLayout_2.addLayout(self.horizontalLayout)

        self.horizontalSpacer = QSpacerItem(438, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum)

        self.horizontalLayout_2.addItem(self.horizontalSpacer)

        self.downloadmodle = QPushButton(self.frame)
        self.downloadmodle.setObjectName(u"downloadmodle")
        icon2 = QIcon()
        icon2.addFile(u":/icon/icon/daoru.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
        self.downloadmodle.setIcon(icon2)

        self.horizontalLayout_2.addWidget(self.downloadmodle)

        self.importbtn = QPushButton(self.frame)
        self.importbtn.setObjectName(u"importbtn")
        icon3 = QIcon()
        icon3.addFile(u":/icon/icon/daochu.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
        self.importbtn.setIcon(icon3)

        self.horizontalLayout_2.addWidget(self.importbtn)


        self.verticalLayout.addWidget(self.frame)

        self.categorytable = QTableWidget(category)
        if (self.categorytable.columnCount() < 3):
            self.categorytable.setColumnCount(3)
        __qtablewidgetitem = QTableWidgetItem()
        self.categorytable.setHorizontalHeaderItem(0, __qtablewidgetitem)
        __qtablewidgetitem1 = QTableWidgetItem()
        self.categorytable.setHorizontalHeaderItem(1, __qtablewidgetitem1)
        __qtablewidgetitem2 = QTableWidgetItem()
        self.categorytable.setHorizontalHeaderItem(2, __qtablewidgetitem2)
        self.categorytable.setObjectName(u"categorytable")

        self.verticalLayout.addWidget(self.categorytable)


        self.retranslateUi(category)

        QMetaObject.connectSlotsByName(category)
    # setupUi

    def retranslateUi(self, category):
        category.setWindowTitle(QCoreApplication.translate("category", u"\u56fe\u4e66\u5206\u7c7b\u4fe1\u606f", None))
        self.label.setText(QCoreApplication.translate("category", u"\u56fe\u4e66\u5206\u7c7b\u4fe1\u606f\u7edf\u8ba1", None))
        self.addbtn.setText("")
        self.sereachedit.setPlaceholderText(QCoreApplication.translate("category", u"\u8bf7\u8f93\u5165\u59d3\u540d\u3001\u8eab\u4efd\u8bc1\u3001\u624b\u673a\u53f7\uff01", None))
        self.serearchbtn.setText("")
        self.downloadmodle.setText("")
        self.importbtn.setText("")
        ___qtablewidgetitem = self.categorytable.horizontalHeaderItem(0)
        ___qtablewidgetitem.setText(QCoreApplication.translate("category", u"\u5e8f\u53f7", None));
        ___qtablewidgetitem1 = self.categorytable.horizontalHeaderItem(1)
        ___qtablewidgetitem1.setText(QCoreApplication.translate("category", u"\u5206\u7c7b\u540d\u79f0", None));
        ___qtablewidgetitem2 = self.categorytable.horizontalHeaderItem(2)
        ___qtablewidgetitem2.setText(QCoreApplication.translate("category", u"\u5206\u7c7b\u63cf\u8ff0", None));
    # retranslateUi

